﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity.ModelConfiguration;
using Bird.Core.Domain.Projects;
namespace Bird.Data.Mapping.Projects
{
    public partial class ProjectMap : EntityTypeConfiguration<Project>
    {
        public ProjectMap()
        {
            this.ToTable("Projects");
            this.HasKey(p => p.Id);
            this.Property(p => p.ProjectTitle).IsRequired();
            this.Property(p => p.ProjectDescription).IsRequired();
        }
    }
}
